import {createApp} from 'vue'
import draggable from 'vuedraggable'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import App from '@/App.vue'
import router from '@/router'
import i18n from "@/i18n/index.js";
import pinia from "@/stores/index.js";


const app = createApp(App)
//切换语言
app.use(i18n);
app.use(pinia)
app.use(router)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.component('vueDraggable', draggable)
app.mount('#app')
